function out = log_linear_scale_plot(series, scx)

    N = length(scx);
    
    series = reshape(series,[],1);
    
    out = zeros(size(series));
    for i = 1:N
        
        try
        series_l  = [repmat(series(end), 1, i-1)'; series(1:end-i+1)];
        catch
            disp('you messed up!')
        end
        
        out_i = scx(i)*(log(series_l) - log(series(end)));
                
        out = out + out_i;
    end
        
    %out = exp(log(series(end)) + out);
    out = 100*out;
    
end